package com.insigma.business.qrcode.common.dto;


import com.insigma.business.qrcode.common.vo.ToString;

public class BaseSearchRequest extends ToString {
    private static final long serialVersionUID = 1L;
    private int pageNo = 1;
    private int pageSize = 20;
    private String sortKeyValueJoint;

    public BaseSearchRequest() {
    }

    public BaseSearchRequest(int pageNo, int pageSize) {
        this.pageNo = pageNo;
        this.pageSize = pageSize;
    }

    public BaseSearchRequest(int pageNo, int pageSize, String sortKeyValueJoint) {
        this.pageNo = pageNo;
        this.pageSize = pageSize;
        this.sortKeyValueJoint = sortKeyValueJoint;
    }

    public int getPageNo() {
        return this.pageNo;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public String getSortKeyValueJoint() {
        return this.sortKeyValueJoint;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public void setSortKeyValueJoint(String sortKeyValueJoint) {
        this.sortKeyValueJoint = sortKeyValueJoint;
    }
}
